/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.yonsei.iwb.smarttv.classification;


import java.util.Hashtable;

/**
 *
 * @author JDK
 */
public class ClassificationList extends Hashtable<String,String>{
    
    private String MEDIA_GENRE;
    private String RELEASE_DATE;
    private String ARTIST;
    public static String ORIGINAL_NETWORK;
    private String FILM_RATING;
    
    public ClassificationList(int type){
        if(type==SearchResultType.FILM_TYPE){
            MEDIA_GENRE = "http://iweb.yonsei.ac.kr/ontologies/smarttv/film/film__genre";
            RELEASE_DATE = "http://iweb.yonsei.ac.kr/ontologies/smarttv/film/film__initial_release_date";
            FILM_RATING = "http://iweb.yonsei.ac.kr/ontologies/smarttv/film/film__rating";
            this.put("Release Date", RELEASE_DATE);
            this.put("Film Rating", FILM_RATING);
            
        }else if(type==SearchResultType.MUSICVIDEO_TYPE){
            MEDIA_GENRE = "http://iweb.yonsei.ac.kr/ontologies/smarttv/music/music_video__music_video_genre";
            RELEASE_DATE = "http://iweb.yonsei.ac.kr/ontologies/smarttv/music/music_video/initial_release_date";
            ARTIST = "http://iweb.yonsei.ac.kr/ontologies/smarttv/music/music_video__artist";
            this.put("Release Date", RELEASE_DATE);
            this.put("Musical Artist", ARTIST);
            
        }else if(type==SearchResultType.TV_EPISODE_TYPE){
            MEDIA_GENRE = "http://iweb.yonsei.ac.kr/ontologies/smarttv/tv/tv_program__genre";
//            MEDIA_GENRE = "http://iweb.yonsei.ac.kr/ontologies/smarttv/tv/tv_program/genre";            
            RELEASE_DATE = "http://iweb.yonsei.ac.kr/ontologies/smarttv/tv/tv_program/air_date_of_first_episode";
            ORIGINAL_NETWORK = "http://iweb.yonsei.ac.kr/ontologies/smarttv/tv/tv_program__original_network";
            this.put("First Air Date", RELEASE_DATE);
            this.put("Original Network", ORIGINAL_NETWORK);
        }
        
        this.put("Genre",MEDIA_GENRE);
    }    
    
}
